Upload customer document
POST/baas/api/v1/customers/:customerDocument/documents
Endpoint to upload a document for a specific customer using their document identifier.
Request
Responses
- 200
- 400
- 401
- 404
OK
Bad request
Unauthorized
Customer not found
Document Requirements by Customer Type
Document Types
The following document types are accepted for each customer category:
Legal Person (PJ) Documents
| Document Type | Status | Description |
|---|---|---|
PERSON_LEGAL_SOCIAL_CONTRACT | Required | Company's social contract |
PERSON_LEGAL_LATEST_CHANGES | Optional | Latest company changes document |
PERSON_LEGAL_REVENUES | Optional | Revenue documentation |
Natural Person (PF) Documents
Complete Document Set Required
You must provide one complete identification set plus a selfie. Partial submissions will not be accepted.
Available Options:
Option 1: Complete CNH (Driver's License)
| Document Type | Status | Description |
|---|---|---|
CNH_FULL | Required | Complete driver's license document |
SELFIE | Required | Customer selfie |
Option 2: CNH Front + Back
| Document Type | Status | Description |
|---|---|---|
CNH_FRONT | Required | Front of driver's license |
CNH_BACK | Required | Back of driver's license |
SELFIE | Required | Customer selfie |
Option 3: Complete RG (Identity Card)
| Document Type | Status | Description |
|---|---|---|
RG_FULL | Required | Complete identity card document |
SELFIE | Required | Customer selfie |
Option 4: RG Front + Back
| Document Type | Status | Description |
|---|---|---|
RG_FRONT | Required | Front of identity card |
RG_BACK | Required | Back of identity card |
SELFIE | Required | Customer selfie |